package com.jiazhong.example.project.bookstore.front;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan("com.jiazhong.example.project.bookstore.commons.mapper")
@ComponentScan("com.jiazhong.example.project.bookstore")
@ServletComponentScan("com.jiazhong.example.project.bookstore.front.filter")
@SpringBootApplication
@EnableCaching
@EnableScheduling
public class ProjectBookstoreFrontShuxinApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProjectBookstoreFrontShuxinApplication.class, args);
    }
}